package com.ttt.service.impl;

import com.ttt.dao.LoginDao;
import com.ttt.entity.Userinfo;
import com.ttt.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：StudentLsj（李世界）
 * @date ：Created in 2022/8/29 19:50
 * @description：
 * @modified By：
 * @version:
 */
@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    LoginDao loginDao;

    @Override
    public Userinfo login(String user) {
        return loginDao.login( user);
    }
}
